const Variable = {
    style: {
        boundary: feature => ({
            fillOpacity: 1,
            fillColor: '#ddebf0',
            stroke: false
        }),
        road: feature => ({
            fillOpacity: 1,
            weight: 1,
            fillColor: '#dddddd',
            color: '#fff',
            stroke: true
        }),
        academicBuildings: feature => ({
            fillOpacity: 1,
            fillColor: '#f6e4a5',
            stroke: true,
            weight: 1,
            color: '#fff'
        }),
        lake: feature => ({
            fillOpacity: 1,
            fillColor: '#aed3ff',
            stroke: true,
            weight: 2,
            color: '#6db9c0'
        }),
        diningRoom: feature => ({
            fillOpacity: 1,
            fillColor: '#d6ad6a',
            stroke: true,
            weight: 2,
            color: '#fefefe'
        }),
        hospital: feature => ({
            fillOpacity: 1,
            fillColor: '#eee',
            stroke: true,
            weight: 2,
            color: '#fefefe'
        }),
        playground: feature => {
            return {
                fillOpacity: 1,
                fillColor: feature.properties.fillColor,
                stroke: true,
                weight: 1,
                color: feature.properties.color
            }
        },
        playgroundLine: feature => {
            return {
                fillOpacity: 1,
                fillColor: feature.properties.color,
                weight: 1,
                color: feature.properties.color
            }
        },
        bridge: () => {
            return {
                fillOpacity: 1,
                fillColor: '#b37e7e',
                weight: 1,
                stroke: false
            }
        },
        familyBuildings: () => {
            return {
                fillOpacity: 1,
                fillColor: '#eaea7b',
                weight: 1,
                color: '#ccc5c5'
            }
        },
        dormitory: () => {
            return {
                fillColor: '#d889d6',
                fillOpacity: 1,
                weight: 1,
                color: '#ddd'
            }
        },
        greenGround: () => {
            return {
                fillColor: '#afd17a',
                fillOpacity: 1,
                stroke: false
            }
        },
        other: () => {
            return {
                fillColor: '#efede8',
                fillOpacity: 1,
                stroke: true,
                weight: 1,
                color: '#999'
            }
        }
    }
}
window.global = Variable
